package cn.com.ejiakanghu.dto;

import java.util.List;

/**
 * @author houzb
 * @Description
 * @create 2021-04-14 21:19
 */
public class PageData<T> {
    /**
     * 分页当前页码
     */
    private int nowPage;
    /**
     * 分页总页数
     */
    private int totalPage;
    /**
     * 分页总页数
     */
    private int totalRows;

    /**
     * 分页数据列表
     */
    private List<T> rows;

    public int getNowPage() {
        return nowPage;
    }

    public void setNowPage(int nowPage) {
        this.nowPage = nowPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getTotalRows() {
        return totalRows;
    }

    public void setTotalRows(int totalRows) {
        this.totalRows = totalRows;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
